package IO;

import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.InputStreamReader;
import java.nio.charset.StandardCharsets;

public class BRDemo {
    public static void main(String[] args) throws Exception{
        BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(new FileInputStream("pw.txt"), StandardCharsets.UTF_8));
        String line;
        while ((line=bufferedReader.readLine())!=null){
            System.out.println(line);
          /*  System.out.print(line);*/
        }
        bufferedReader.close();
    }

}
